package com.jkd.service;

import com.jkd.model.pojo.Student;
import com.jkd.service.impl.StudentServiceImpl;
import org.junit.Test;

public class testStudent {
IStudentService studentService = new StudentServiceImpl();

@Test
public void testSelectByStuNum(){
    Student student = studentService.selectByStuNum("178111554111");
    System.out.println(student);
}
@Test
    public void update(){
   Student student = new Student(1,"178111554111",1,17,"123123","tom",1,"18865623698","江苏省靖江市斜桥镇",1,null,null);
   Boolean f = studentService.update(student);
    System.out.println(f);
}

}
